﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="AddNewHFVariableInfo.aspx.cs" Inherits="Admin_home_refinance_AddNewHFVariableInfo"
    Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="contents">
        <table width="100%" cellpadding="3" cellspacing="0" border="0">
            <tr>
                <td colspan="2">
                    <h1>Add Home Refinance Variable Info</h1><asp:Label ID="lblHFID" runat="server" Visible="false"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 30%"; valign="top">Provider Company Name</td>
                <td  valign="top">
                    <asp:DropDownList ID="ddlProviderName" runat="server">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA9" runat="server" ControlToValidate="ddlProviderName"
                        ErrorMessage="Require provider company name."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Product Name
                </td>
                <td  valign="top">
                    <asp:TextBox ID="txtProductName" runat="server" MaxLength="250" Rows="2" Columns="100"
                        TextMode="MultiLine" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvMRTA8" runat="server" ControlToValidate="txtProductName"
                        InitialValue="-1" ErrorMessage="Require product name."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td  valign="top">
                    Loan Purpose</td>
                <td  valign="top">
                    <asp:DropDownList ID="ddlLoanPurpose" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="1">New Purchase Only</asp:ListItem>
                        <asp:ListItem Value="2">Refinancing Only</asp:ListItem>
                        <asp:ListItem Value="3">Both</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvLoanPurpose" runat="server" ControlToValidate="ddlLoanPurpose"
                        InitialValue="-1" ErrorMessage="Choose loan purpose."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Property Type                 </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlPropertyType" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="1">Private</asp:ListItem>
                        <asp:ListItem Value="2">HDB</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA7" runat="server" ControlToValidate="ddlPropertyType"
                        InitialValue="-1" ErrorMessage="Choose property type."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Interest Rate Package
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlInterestRatePackage" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="1">Fixed</asp:ListItem>
                        <asp:ListItem Value="2">Float</asp:ListItem>
                        <asp:ListItem Value="3">Combo</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA6" runat="server" ControlToValidate="ddlInterestRatePackage"
                        InitialValue="-1" ErrorMessage="Choose interest rate package."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Minimum Loan Tenure
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlMinLoanTenure" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>25</asp:ListItem>
                        <asp:ListItem>30</asp:ListItem>
                        <asp:ListItem>35</asp:ListItem>
                        <asp:ListItem>40</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA5" runat="server" ControlToValidate="ddlMinLoanTenure"
                        InitialValue="-1" ErrorMessage="Choose minimum loan tenure."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Maximum Loan Tenure
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlMaxLoanTenure" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>25</asp:ListItem>
                        <asp:ListItem>30</asp:ListItem>
                        <asp:ListItem>35</asp:ListItem>
                        <asp:ListItem>40</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA4" runat="server" ControlToValidate="ddlMaxLoanTenure"
                        InitialValue="-1" ErrorMessage="Choose maximum loan tenure."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Minimum Age of Applicant
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlMinAgeOfApplicant" runat="server">
                        <asp:ListItem>Select</asp:ListItem>
                        <asp:ListItem>18</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>22</asp:ListItem>
                        <asp:ListItem>24</asp:ListItem>
                        <asp:ListItem>26</asp:ListItem>
                        <asp:ListItem>28</asp:ListItem>
                        <asp:ListItem>30</asp:ListItem>
                        <asp:ListItem>32</asp:ListItem>
                        <asp:ListItem>34</asp:ListItem>
                        <asp:ListItem>36</asp:ListItem>
                        <asp:ListItem>38</asp:ListItem>
                        <asp:ListItem>40</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA3" runat="server" ControlToValidate="ddlMinAgeOfApplicant"
                        InitialValue="-1" ErrorMessage="Choose minimum age of  applicant."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Maximum Age of Applicant
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlMaxAgeOfApplicant" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem>30</asp:ListItem>
                        <asp:ListItem>32</asp:ListItem>
                        <asp:ListItem>34</asp:ListItem>
                        <asp:ListItem>36</asp:ListItem>
                        <asp:ListItem>38</asp:ListItem>
                        <asp:ListItem>40</asp:ListItem>
                        <asp:ListItem>42</asp:ListItem>
                        <asp:ListItem>44</asp:ListItem>
                        <asp:ListItem>46</asp:ListItem>
                        <asp:ListItem>48</asp:ListItem>
                        <asp:ListItem>50</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA2" runat="server" ControlToValidate="ddlMaxAgeOfApplicant"
                        InitialValue="-1" ErrorMessage="Choose maximum age of applicant."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Max Margin Finance
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlMaxMarginFin" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem>50</asp:ListItem>
                        <asp:ListItem>60</asp:ListItem>
                        <asp:ListItem>70</asp:ListItem>
                        <asp:ListItem>80</asp:ListItem>
                        <asp:ListItem>90</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA1" runat="server" ControlToValidate="ddlMaxMarginFin"
                        InitialValue="-1" ErrorMessage="Choose max margin finance."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Lock In Period
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlLockInPeriod" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="0">No lock-in</asp:ListItem>
                        <asp:ListItem Value="1">1 year lock-in</asp:ListItem>
                        <asp:ListItem Value="2">2 years lock-in</asp:ListItem>
                        <asp:ListItem Value="3">3 years lock-in</asp:ListItem>
                        <asp:ListItem Value="99">Does not matter</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA0" runat="server" ControlToValidate="ddlLockInPeriod"
                        InitialValue="-1" ErrorMessage="Choose lock in period."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Full Redemption Penalty
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtFullRedPen" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Partial Repayment Min Amt
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtPartialRepayMinAmt" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPartialRepayMinAmt" runat="server" ControlToValidate="txtPartialRepayMinAmt"
                        ErrorMessage="Require Partial Repayment Minimum Amount." Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revPartialRepayMinAmt" runat="server" ControlToValidate="txtPartialRepayMinAmt"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Partial Repayment Max Amt
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtPartialRepayMaxAmt" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPartialRepayMaxAmt" runat="server" ControlToValidate="txtPartialRepayMinAmt"
                        ErrorMessage="Require Partial Repayment Maximum Amount." Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revPartialRepayMaxAmt" runat="server" ControlToValidate="txtPartialRepayMaxAmt"
                        ErrorMessage="Enter Number value." ValidationExpression="^\d+(\.\d\d)?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Home Fire Insurance
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtHomeFireIns" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Legal Fees Subsidy
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtLegalFeeSub" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    MRTA Required
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlMRTARequire" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="true">Yes</asp:ListItem>
                        <asp:ListItem Value="false">No</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA" runat="server" ControlToValidate="ddlMRTARequire"
                        InitialValue="-1" ErrorMessage="Choose Yes or No MRTA."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold" valign="top">
                    Interest - Year 1
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtInsYear1" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvInsYear1" runat="server" ControlToValidate="txtInsYear1"
                        ErrorMessage="Require Interest Year 1."></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revInsY1" runat="server" ControlToValidate="txtInsYear1"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Sign
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlY1SiborSign" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="N">None</asp:ListItem>
                        <asp:ListItem Value="-">-</asp:ListItem>
                        <asp:ListItem Value="+">+</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA10" runat="server" ControlToValidate="ddlY1SiborSign"
                        InitialValue="-1" ErrorMessage="Choose sibor sign for interest year 1." Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Period
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlY1SiborPeriod" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="0">None</asp:ListItem>
                        <asp:ListItem Value="3">3 months</asp:ListItem>
                        <asp:ListItem Value="6">6 months</asp:ListItem>
                        <asp:ListItem Value="9">9 months</asp:ListItem>
                        <asp:ListItem Value="12">12 months</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA11" runat="server" ControlToValidate="ddlY1SiborPeriod"
                        InitialValue="-1" ErrorMessage="Choose sibor period for interest year 1."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold" valign="top">
                    Interest - Year 2
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtInsYear2" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvInsYear2" runat="server" ControlToValidate="txtInsYear2"
                        ErrorMessage="Require Interest Year 2." Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revInsY2" runat="server" ControlToValidate="txtInsYear2"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Sign
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlY2SiborSign" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="N">None</asp:ListItem>
                        <asp:ListItem>-</asp:ListItem>
                        <asp:ListItem>+</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA17" runat="server" ControlToValidate="ddlY2SiborSign"
                        InitialValue="-1" ErrorMessage="Choose sibor sign for interest year 2." Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Period
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlY2SiborPeriod" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="0">None</asp:ListItem>
                        <asp:ListItem Value="3">3 months</asp:ListItem>
                        <asp:ListItem Value="6">6 months</asp:ListItem>
                        <asp:ListItem Value="9">9 months</asp:ListItem>
                        <asp:ListItem Value="12">12 months</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA12" runat="server" ControlToValidate="ddlY2SiborPeriod"
                        InitialValue="-1" ErrorMessage="Choose sibor period for interest year 2."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold" valign="top">
                    Interest - Year 3
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtInsYear3" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvInsYear3" runat="server" ControlToValidate="txtInsYear3"
                        ErrorMessage="Require Interest Year 3." Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revInsY3" runat="server" ControlToValidate="txtInsYear3"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Sign
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlY3SiborSign" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="N">None</asp:ListItem>
                        <asp:ListItem>-</asp:ListItem>
                        <asp:ListItem>+</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA18" runat="server" ControlToValidate="ddlY3SiborSign"
                        InitialValue="-1" ErrorMessage="Choose sibor sign for interest year 3."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Period
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlY3SiborPeriod" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="0">None</asp:ListItem>
                        <asp:ListItem Value="3">3 months</asp:ListItem>
                        <asp:ListItem Value="6">6 months</asp:ListItem>
                        <asp:ListItem Value="9">9 months</asp:ListItem>
                        <asp:ListItem Value="12">12 months</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA13" runat="server" ControlToValidate="ddlY3SiborPeriod"
                        InitialValue="-1" ErrorMessage="Choose sibor period for interest year 3."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold" valign="top">
                    Interest - Year 4
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtInsYear4" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvInsYear4" runat="server" ControlToValidate="txtInsYear4"
                        ErrorMessage="Require Interest Year 4." Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revInsY4" runat="server" ControlToValidate="txtInsYear4"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Sign
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlY4SiborSign" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="N">None</asp:ListItem>
                        <asp:ListItem>-</asp:ListItem>
                        <asp:ListItem>+</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA19" runat="server" ControlToValidate="ddlY4SiborSign"
                        InitialValue="-1" ErrorMessage="Choose sibor sign for interest year 4."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Period
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlY4SiborPeriod" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="0">None</asp:ListItem>
                        <asp:ListItem Value="3">3 months</asp:ListItem>
                        <asp:ListItem Value="6">6 months</asp:ListItem>
                        <asp:ListItem Value="9">9 months</asp:ListItem>
                        <asp:ListItem Value="12">12 months</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA14" runat="server" ControlToValidate="ddlY4SiborPeriod"
                        InitialValue="-1" ErrorMessage="Choose sibor period for interest year 4."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold" valign="top">
                    Interest - Year 5
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtInsYear5" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvInsYear5" runat="server" ControlToValidate="txtInsYear5"
                        ErrorMessage="Require Interest Year 5." Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revInsY5" runat="server" ControlToValidate="txtInsYear5"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Sign
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlY5SiborSign" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="N">None</asp:ListItem>
                        <asp:ListItem>-</asp:ListItem>
                        <asp:ListItem>+</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA20" runat="server" ControlToValidate="ddlY5SiborSign"
                        InitialValue="-1" ErrorMessage="Choose sibor sign for interest year 5."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Period
                </td>
                <td valign="top"> 
                    <asp:DropDownList ID="ddlY5SiborPeriod" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="0">None</asp:ListItem>
                        <asp:ListItem Value="3">3 months</asp:ListItem>
                        <asp:ListItem Value="6">6 months</asp:ListItem>
                        <asp:ListItem Value="9">9 months</asp:ListItem>
                        <asp:ListItem Value="12">12 months</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA15" runat="server" ControlToValidate="ddlY5SiborPeriod"
                        InitialValue="-1" ErrorMessage="Choose sibor period for interest year 5."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold" valign="top">
                    Interest - There After
                </td>
                <td valign="top">
                    <asp:TextBox ID="txtInsThereAfter" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="revInsY6" runat="server" ControlToValidate="txtInsThereAfter"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Sign
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlTASiborSign" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="N">None</asp:ListItem>
                        <asp:ListItem>-</asp:ListItem>
                        <asp:ListItem>+</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA21" runat="server" ControlToValidate="ddlTASiborSign"
                        InitialValue="-1" ErrorMessage="Choose sibor sign for interest year there after."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Sibor Period
                </td>
                <td valign="top">
                    <asp:DropDownList ID="ddlTASiborPeriod" runat="server">
                        <asp:ListItem Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="0">None</asp:ListItem>
                        <asp:ListItem Value="3">3 months</asp:ListItem>
                        <asp:ListItem Value="6">6 months</asp:ListItem>
                        <asp:ListItem Value="9">9 months</asp:ListItem>
                        <asp:ListItem Value="12">12 months</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvMRTA16" runat="server" ControlToValidate="ddlTASiborPeriod"
                        InitialValue="-1" ErrorMessage="Choose sibor period for interest year there after."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <p>
                        <asp:Button ID="btnNew" runat="server" CausesValidation="False" OnClick="btnNew_Click"
                            OnClientClick=" return confirm('Are you sure to clear form to create now?');"
                            Text="Add New" CssClass="btn blue" />
                        <asp:Button ID="btnHFVarInfoSubmit" runat="server" Text="Submit" OnClick="btnHFVarInfoSubmit_Click"
                            OnClientClick="javascript:if(Page_IsValid) return confirm('Are you sure to save record?');" CssClass="btn blue" />
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                    <asp:Label ID="lblMessage" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
